YNQ  YNQ-1.6.0
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
sycommon.h File Reference

Go to the source code of this file.

Data Structures

struct  SYFileInformation
 
struct  SYVolumeInformation
 
struct  SYTimeFragments
 
struct  SYDeviceMode
 
struct  SYPrinterDriver
 
struct  SYPrinterInfo
 
struct  SYPrintJobInfo
 
struct  SYPrintSize
 
struct  SYPrintRect
 
struct  SYPrintFormInfo
 

Macros

#define SY_ATTR_READONLY   0x001
 
#define SY_ATTR_HIDDEN   0x002
 
#define SY_ATTR_SYSTEM   0x004
 
#define SY_ATTR_VOLUME   0x008
 
#define SY_ATTR_DIRECTORY   0x010
 
#define SY_ATTR_ARCHIVE   0x020
 
#define SY_ATTR_DEVICE   0x040
 
#define SY_ATTR_NORMAL   0x080
 
#define SY_ATTR_TEMPORARY   0x100
 
#define SY_ATTR_SPARSE_FILE   0x200
 
#define SY_ATTR_REPARSE_POINT   0x400
 
#define SY_ATTR_COMPRESSED   0x800
 
#define SY_ATTR_OFFLINE   0x1000
 
#define SY_ATTR_NOT_CONTENT_INDEXED   0x2000
 
#define SY_ATTR_ENCRYPTED   0x4000
 
#define SY_PRINTEROSVERSION_WIN   3
 
#define SY_DEVICEMODE_ORIENTATION   0x00000001
 
#define SY_DEVICEMODE_PAPERSIZE   0x00000002
 
#define SY_DEVICEMODE_PAPERLENGTH   0x00000004
 
#define SY_DEVICEMODE_PAPERWIDTH   0x00000008
 
#define SY_DEVICEMODE_SCALE   0x00000010
 
#define SY_DEVICEMODE_POSITION   0x00000020
 
#define SY_DEVICEMODE_NUP   0x00000040
 
#define SY_DEVICEMODE_COPIES   0x00000080
 
#define SY_DEVICEMODE_DEFAULTSOURCE   0x00000100
 
#define SY_DEVICEMODE_PRINTQUALITY   0x00000400
 
#define SY_DEVICEMODE_COLOR   0x00000800
 
#define SY_DEVICEMODE_DUPLEX   0x00001000
 
#define SY_DEVICEMODE_YRESOLUTION   0x00002000
 
#define SY_DEVICEMODE_TTOPTION   0x00004000
 
#define SY_DEVICEMODE_COLLATE   0x00008000
 
#define SY_DEVICEMODE_FORMNAME   0x00010000
 
#define SY_DEVICEMODE_LOGPIXELS   0x00020000
 
#define SY_DEVICEMODE_BITSPERPEL   0x00040000
 
#define SY_DEVICEMODE_PELWIDTH   0x00080000
 
#define SY_DEVICEMODE_PELHEIGHT   0x00100000
 
#define SY_DEVICEMODE_DISPLAYFLAGS   0x00200000
 
#define SY_DEVICEMODE_DISPLAYFREQUENCY   0x00400000
 
#define SY_DEVICEMODE_ICMMETHOD   0x00800000
 
#define SY_DEVICEMODE_ICMINTENT   0x01000000
 
#define SY_DEVICEMODE_MEDIATYPE   0x02000000
 
#define SY_DEVICEMODE_DITHERTYPE   0x04000000
 
#define SY_DEVICEMODE_PANNINGWIDTH   0x08000000
 
#define SY_DEVICEMODE_PANNINGHEIGHT   0x10000000
 
#define SY_PRINTERSTATUS_PAUSED   0x00000001
 
#define SY_PRINTERSTATUS_ERROR   0x00000002
 
#define SY_PRINTERSTATUS_PENDINGDELETION   0x00000004
 
#define SY_PRINTERSTATUS_PAPERJAM   0x00000008
 
#define SY_PRINTERSTATUS_PAPEROUT   0x00000010
 
#define SY_PRINTERSTATUS_MANUALFEED   0x00000020
 
#define SY_PRINTERSTATUS_PAPERPROBLEM   0x00000040
 
#define SY_PRINTERSTATUS_OFFLINE   0x00000080
 
#define SY_PRINTERSTATUS_IOACTIVE   0x00000100
 
#define SY_PRINTERSTATUS_BUSY   0x00000200
 
#define SY_PRINTERSTATUS_PRINTING   0x00000400
 
#define SY_PRINTERSTATUS_OUTPUTBINFULL   0x00000800
 
#define SY_PRINTERSTATUS_NOTAVAILABLE   0x00001000
 
#define SY_PRINTERSTATUS_WAITING   0x00002000
 
#define SY_PRINTERSTATUS_PROCESSING   0x00004000
 
#define SY_PRINTERSTATUS_INITIALIZING   0x00008000
 
#define SY_PRINTERSTATUS_WARMINGUP   0x00010000
 
#define SY_PRINTERSTATUS_TONERLOW   0x00020000
 
#define SY_PRINTERSTATUS_NOTONER   0x00040000
 
#define SY_PRINTERSTATUS_PAGEPUNT   0x00080000
 
#define SY_PRINTERSTATUS_USERINTERVENTION   0x00100000
 
#define SY_PRINTERSTATUS_OUTOFMEMORY   0x00200000
 
#define SY_PRINTERSTATUS_DOOROPEN   0x00400000
 
#define SY_PRINTERSTATUS_SERVERUNKNOWN   0x00800000
 
#define SY_PRINTERSTATUS_POWERSAVE   0x01000000
 
#define SY_PRINTERATTR_QUEUED   0x0001
 
#define SY_PRINTERATTR_DIRECT   0x0002
 
#define SY_PRINTERATTR_DEFAULT   0x0004
 
#define SY_PRINTERATTR_SHARED   0x0008
 
#define SY_PRINTERATTR_NETWORK   0x0010
 
#define SY_PRINTERATTR_RESERVED   0x0020 /* */
 
#define SY_PRINTERATTR_LOCAL   0x0040
 
#define SY_PRINTERATTR_DEVQUERY   0x0080
 
#define SY_PRINTERATTR_KEEPJOBS   0x0100
 
#define SY_PRINTERATTR_LIFO   0x0200
 
#define SY_PRINTERATTR_OFFLINE   0x0400
 
#define SY_PRINTERATTR_BIDI   0x0800
 
#define SY_PRINTERATTR_RAWONLY   0x1000
 
#define SY_PRINTERATTR_PUBLISHED   0x2000
 
#define SY_PRINTERATTR_EXPAND   0x4000
 
#define SY_PRINTERATTR_CONTAINER   0x8000
 
#define SY_PRINTERATTR_ICON1   0x10000
 
#define SY_PRINTERATTR_ICON2   0x20000
 
#define SY_PRINTERATTR_ICON3   0x40000
 
#define SY_PRINTERATTR_ICON4   0x80000
 
#define SY_PRINTERATTR_ICON5   0x100000
 
#define SY_PRINTERATTR_ICON6   0x200000
 
#define SY_PRINTERATTR_ICON7   0x400000
 
#define SY_PRINTERATTR_ICON8   0x800000
 
#define SY_PRINTJOBSTATUS_PAUSED   0x00000001
 
#define SY_PRINTJOBSTATUS_ERROR   0x00000002
 
#define SY_PRINTJOBSTATUS_DELETING   0x00000004
 
#define SY_PRINTJOBSTATUS_SPOOLING   0x00000008
 
#define SY_PRINTJOBSTATUS_PRINTING   0x00000010
 
#define SY_PRINTJOBSTATUS_OFFLINE   0x00000020
 
#define SY_PRINTJOBSTATUS_PAPERPROBLEM   0x00000040
 
#define SY_PRINTJOBSTATUS_PRINTED   0x00000080
 
#define SY_PRINTJOBSTATUS_DELETED   0x00000100
 
#define SY_PRINTJOBSTATUS_BLOCKED   0x00000200
 
#define SY_PRINTJOBSTATUS_USERINTERVENTION   0x00000400
 
#define SY_PRINTJOBSTATUS_RESTART   0x00000800
 
#define SY_PRINTJOB_MINPRIORITY   1
 
#define SY_PRINTJOB_MAXPRIORITY   99
 
#define SY_PRINTJOB_DEFPRIORITY   1
 
#define SY_PRINTERCONTROL_PAUSE   1
 
#define SY_PRINTERCONTROL_RESUME   2
 
#define SY_PRINTERCONTROL_PURGE   3
 
#define SY_PRINTERCONTROL_SETSTATUS   4
 
#define SY_PRINTJOBCOM_PAUSE   1
 
#define SY_PRINTJOBCOM_RESUME   2
 
#define SY_PRINTJOBCOM_CANCEL   3
 
#define SY_PRINTJOBCOM_RESTART   4
 
#define SY_PRINTJOBCOM_DELETE   5
 
#define SY_PRINTJOBCOM_SENDTOPRINTER   6
 
#define SY_PRINTJOBCOM_LASTPAGEEJECTED   7
 
#define SY_PRINTFORMFLAG_USER   0x00000000
 
#define SY_PRINTFORMFLAG_BUILTIN   0x00000001
 
#define SY_PRINTFORMFLAG_PRINTER   0x00000002